﻿using SqlSugar;
using YNTK.Common.Const;

namespace YNTK.General.Entitys.Notice
{
    /// <summary>
    /// (会议)培训通知审核记录
    /// </summary>
    [SugarTable("general_training_notice_auditrecords")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class TrainingNoticeAuditRecordsEntity
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", ColumnDescription = "id")]
        public string Id { get; set; }

        /// <summary>
        /// (会议)培训通知id
        /// </summary>
        [SugarColumn(ColumnName = "F_TrainingNoticeId", ColumnDescription = "(会议)培训通知id")]
        public string TrainingNoticeId { get; set; }

        /// <summary>
        /// 审核节点id
        /// </summary>
        [SugarColumn(ColumnName = "F_NodeId", ColumnDescription = "审核节点id")]
        public string NodeId { get; set; }

        /// <summary>
        /// 操作人Id
        /// </summary>
        [SugarColumn(ColumnName = "F_OperatorId", ColumnDescription = "操作人Id")]
        public string OperatorId { get; set; }

        /// <summary>
        /// 操作类型(0.提交申请 1.审核 2.发起人确认)
        /// </summary>
        [SugarColumn(ColumnName = "F_OperateType", ColumnDescription = "操作类型(0.提交申请 1.审核 2.发起人确认)")]
        public int OperateType { get; set; }

        /// <summary>
        /// 状态(0.提交申请 1.审核通过 2.审核不通过 3.驳回 4.发起人已确认)
        /// </summary>
        [SugarColumn(ColumnName = "F_State", ColumnDescription = "状态(0.提交申请 1.审核通过 2.审核不通过 3.驳回 4.发起人已确认)")]
        public int? State { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime", ColumnDescription = "创建时间")]
        public DateTime? CreatorTime { get; set; }

        /// <summary>
        /// 签名图片存储路径
        /// </summary>
        [SugarColumn(ColumnName = "F_SignatureImagePath", ColumnDescription = "签名图片存储路径")]
        public string SignatureImagePath { get; set; }
    }
}
